import axios from "axios";
import service from "../utils/request";
export function tuan_list(payload= {}){
    return service.get('/api/tuan/list',payload)
}
export function shop_list(payload={}){
    return service.get('/api/shop/list',payload)
}
export function shop_shopinfot(payload={}){
    return service.get('/api/shop/shopinfo',payload)
}
export function user_login(payload={}){
    return service.post('/api/user/login',payload)
}
export function user_register(payload={}){
    return service.post('/api/user/register',payload)
}
export function banner_list(payload={}){
    return service.get('/api/banner/list',payload)
}
//收藏列表
export function shop_favlist(payload={}){
    return service.get('/api/shop/favlist',payload)
}
//收藏店铺
export function shop_fav(payload={}){
    return service.post('/api/shop/fav',payload)
}
//取消收藏店铺
export function shop_unfav(payload={}){
    return service.post('/api/shop/unfav',payload)
}
